Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all commerce codes #118

Merged
merged 1 commit into from Jul 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
82 changes: 41 additions & 41 deletions referencia/webpayrest/README.md
Expand Up @@ -99,8 +99,8 @@ el ambiente de integración](/documentacion/como_empezar#ambientes).
```

```http
Tbk-Api-Key-Id: 597055555532
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json
```

Expand All @@ -121,12 +121,12 @@ comercio](https://github.com/TransbankDevelopers/transbank-webpay-credenciales/t

Producto | Código de Comercio | Secreto |
-------- | ------------ | -------------|
Webpay Plus | `597055555532` | `579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C`
Webpay Plus | `Próximamente...` | `Próximamente...`
Webpay Plus Mall | `Próximamente...` | `Próximamente...`
Webpay Oneclick | `Próximamente...` | `Próximamente...`
Webpay Oneclick Mall | `Próximamente...` | `Próximamente...`
Webpay Transacción Completa | `597055555530` | `579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C`
Webpay Transacción Completa Diferida | `597055555531` | `579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C`
Webpay Transacción Completa | `Próximamente...` | `Próximamente...`
Webpay Transacción Completa Diferida | `Próximamente...` | `Próximamente...`

> Los SDKs ya incluyen esos códigos de comercio y llaves secretas
> que funcionan en el ambiente de integración, por lo que puedes obtener
Expand Down Expand Up @@ -319,8 +319,8 @@ token es caducado y no podrá ser utilizado en un pago.
```http
POST /rswebpaytransaction/api/webpay/v1.0/transactions

Tbk-Api-Key-Id: 597055555532
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
Expand Down Expand Up @@ -409,8 +409,8 @@ Permite confirmar y obtener el resultado de la transacción una vez que Webpay

```http
PUT /rswebpaytransaction/api/webpay/v1.0/transactions/{token}
Tbk-Api-Key-Id: 597055555532
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json
```

Expand Down Expand Up @@ -513,8 +513,8 @@ Obtiene resultado de transacción a partir de un token.

```http
GET /rswebpaytransaction/api/webpay/v1.0/transactions/{token}
Tbk-Api-Key-Id: 597055555532
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json
```

Expand Down Expand Up @@ -667,7 +667,7 @@ Content-Type: application/json
"details": [
{
"amount": 10000,
"commerce_code": 597026008905,
"commerce_code": Próximamente...,
"buy_order": "ordenCompraDetalle1234"
}
]
Expand Down Expand Up @@ -806,7 +806,7 @@ Content-Type: application/json
"payment_type_code": "VN",
"response_code": 0,
"installments_number": 0,
"commerce_code": "597026010055",
"commerce_code": "Próximamente...",
"buy_order": "505479072",
"status": "AUTHORIZED"
}]
Expand Down Expand Up @@ -865,8 +865,8 @@ Obtiene resultado de transacción a partir de un token.

```http
GET /rswebpaytransaction/api/webpay/v1.0/transactions/{token}
Tbk-Api-Key-Id: 597055555532
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json
```

Expand Down Expand Up @@ -917,7 +917,7 @@ Content-Type: application/json
"payment_type_code": "VN",
"response_code": 0,
"installments_number": 0,
"commerce_code": "597026010055",
"commerce_code": "Próximamente...",
"buy_order": "505479072",
"status": "AUTHORIZED"
}]
Expand Down Expand Up @@ -1011,7 +1011,7 @@ Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
"commerce_code": "597026007976",
"commerce_code": "Próximamente...",
"buy_order": "ordenCompra12345678",
"authorization_code": "123456",
"capture_mount": 1000
Expand Down Expand Up @@ -1147,13 +1147,13 @@ El método `Transaction.refund()` debe ser invocado siempre indicando el códi

```http
PUT /rswebpaytransaction/api/webpay/v1.0/transactions/{token}/refund
Tbk-Api-Key-Id: 597055555532
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
"buy_order": "415034240",
"commerce_code": "597026010055",
"commerce_code": "Próximamente...",
"amount": 1000
}
```
Expand Down Expand Up @@ -2213,7 +2213,7 @@ Content-Type: application/json
"buy_order": "ordenCompra123456789",
"details": [
{
"commerce_code": 597026010055,
"commerce_code": Próximamente...,
"buy_order": "ordenCompra123445",
"amount": 1000,
"installments_number": 5
Expand Down Expand Up @@ -2275,7 +2275,7 @@ Content-Type: application/json
"payment_type_code": "VN",
"response_code": 0,
"installments_number": 0,
"commerce_code": "597026010055",
"commerce_code": "Próximamente...",
"buy_order": "505479072"
}]
}
Expand Down Expand Up @@ -2387,7 +2387,7 @@ Content-Type: application/json
"payment_type_code": "VN",
"response_code": 0,
"installments_number": 0,
"commerce_code": "597026010055",
"commerce_code": "Próximamente...",
"buy_order": "505479072"
}]
}
Expand Down Expand Up @@ -2472,7 +2472,7 @@ Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
"commerce_code": 597026010055,
"commerce_code": Próximamente...,
"detail_buy_order": "ordenCompra12345",
"amount": 1000
}
Expand Down Expand Up @@ -2599,8 +2599,8 @@ token es caducado y no podrá ser utilizado en un pago.
```http
POST /rswebpaytransaction/api/webpay/v1.0/transactions

Tbk-Api-Key-Id: 597055555530
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
Expand Down Expand Up @@ -2693,8 +2693,8 @@ invocación de la confirmación.
```http
POST /rswebpaytransaction/api/webpay/v1.0/transactions/{token}/installments

Tbk-Api-Key-Id: 597055555530
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
Expand Down Expand Up @@ -2789,8 +2789,8 @@ transacción.
```http
PUT /rswebpaytransaction/api/webpay/v1.0/transactions/{token}

Tbk-Api-Key-Id: 597055555530
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
Expand Down Expand Up @@ -2902,8 +2902,8 @@ Obtiene resultado de transacción a partir de un token.

```http
GET /rswebpaytransaction/api/webpay/v1.0/transactions/{token}
Tbk-Api-Key-Id: 597055555530
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json
```

Expand Down Expand Up @@ -3009,8 +3009,8 @@ Permite solicitar a Webpay la anulación de una transacción realizada previam

```http
PUT /rswebpaytransaction/api/webpay/v1.0/transactions/{token}/refund
Tbk-Api-Key-Id: 597055555532
Tbk-Api-Key-Secret: 579B532A7440BB0C9079DED94D31EA1615BACEB56610332264630D42D0A36B1C
Tbk-Api-Key-Id: Próximamente...
Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
Expand Down Expand Up @@ -3173,12 +3173,12 @@ Content-Type: application/json
"details": [
{
"amount": 10000,
"commerce_code": 597026008905,
"commerce_code": "Próximamente...",
"buy_order": "123456789"
},
{
"amount": 10000,
"commerce_code": 597026008913,
"commerce_code": "Próximamente...",
"buy_order": "123456790"
}
]
Expand Down Expand Up @@ -3271,7 +3271,7 @@ Tbk-Api-Key-Secret: Próximamente...
Content-Type: application/json

{
"commerce_code": 597026008905,
"commerce_code": Próximamente...,
"buy_order": "123456789",
"installments_number": 10
}
Expand Down Expand Up @@ -3371,7 +3371,7 @@ Content-Type: application/json
{
"details": [
{
"commerce_code": 597026008913,
"commerce_code": Próximamente...,
"buy_order": "ordenCompra1234",
"id_query_installments": 12,
"deferred_period_index": 1,
Expand Down Expand Up @@ -3434,7 +3434,7 @@ Content-Type: application/json
"payment_type_code": "VN",
"response_code": 0,
"installments_number": 0,
"commerce_code": "597026010055",
"commerce_code": "Próximamente...",
"buy_order": "505479072"
}
]
Expand Down Expand Up @@ -3544,7 +3544,7 @@ Content-Type: application/json
"payment_type_code": "VN",
"response_code": 0,
"installments_number": 0,
"commerce_code": "597026010055",
"commerce_code": "Próximamente...",
"buy_order": "505479072"
}
]
Expand Down Expand Up @@ -3612,7 +3612,7 @@ Content-Type: application/json

{
"buy_order": "415034240",
"commerce_code": "597026010055",
"commerce_code": "Próximamente...",
"amount": 1000
}
```
Expand Down