Download OpenAPI specification:
Merchant TPV service for registered businesses.
| rv-authorization required | string Base64 encode de user:password para la aplicación |
| x-api-key required | string Api key |
{- "message": {
- "status": 200,
- "message": "string",
- "token": "string"
}
}To know the card tokenization process: https://paylands.docs.apiary.io/#introduction/sdk-javascript
| RV-SESS-T required | string auth token |
| customer_ext_id required | string Unique identifier of the client on the system consuming the API. |
{- "customer_ext_id": "CL1-000-CV-98"
}{- "code": 200,
- "message": "success.",
- "result": {
- "customer_ext_id": "CL1-000-CV-98",
- "token": "05e3d31577277f9376ab5f5397304107d73f0eb11c501c3b3255f5fe111e707a64c3ddf7f7cc7f25d141cdb1c53deff04bc2a16c57c6b42935d68aa8ab353cd6"
}
}To know the card tokenization process: https://paylands.docs.apiary.io/#introduction/sdk-javascript
| language required | string Default: "english" Example: spanish Language in which messages are received |
| RV-SESS-T required | string auth token |
| customer_ext_id required | string Unique identifier of the client on the system consuming the API. |
{- "customer_ext_id": "CL1-000-CV-98"
}{- "code": 200,
- "message": "success.",
- "result": {
- "customer_ext_id": "CL1-000-CV-98",
- "token": "05e3d31577277f9376ab5f5397304107d73f0eb11c501c3b3255f5fe111e707a64c3ddf7f7cc7f25d141cdb1c53deff04bc2a16c57c6b42935d68aa8ab353cd6"
}
}| RV-SESS-T required | string auth token |
| currency required | string Value: "EUR" Currency in which the charge will be made |
| amount required | number <integer> Amount in cents in which the charge will be made |
| description required | string Concept for which the charge is made |
| order_ext_id | string External identifier of the order, is usually the order identifier in the system of the user of this API. |
| customer_ext_id | string Unique identifier of the client on the system consuming the API. |
| source_uuid | string Tokenized card identifier. |
| url_post | string Notification url where the API will send the result via POST once the sender makes the payment. |
| url_ok | string url to which the sender will be redirected when the payment is successful |
| url_ko | string url to which the sender will be redirected when the payment is not successful |
| clientFirstName | string Cardholder name. Field required by VISA. |
| clientLastName | string cardholder's last name. Field required by VISA. |
| clientEmail | string cardholder's email. Field required by VISA. |
| clientPhonePrefix | number Telephone prefix of the cardholder. Field required by VISA. It is recommended that at least an e-mail or telephone number be sent |
| clientPhoneNumber | number Telephone number of the cardholder. Field required by VISA. It is recommended that at least an e-mail or telephone number be sent |
| clientAddressCity | string Billing address city. Field required by VISA. |
| clientAddressCountryISO3 | string Country of billing address, ISO 3 format. Field required by VISA. |
| clientAddress | string Billing address. Field required by VISA. |
| clientAddressZip | string Billing address zip code. Field required by VISA. |
| clientAddressState | string State/province of billing address. Field required by VISA. |
{- "currency": "EUR",
- "amount": 1020,
- "description": "Rocker T-shirt x 1",
- "order_ext_id": "RTH-000001",
- "customer_ext_id": "CL1-000-CV-98",
- "source_uuid": "77777777-7777-4777-9777-777777777777",
- "clientFirstName": "Alan",
- "clientLastName": "Brito Prieto",
- "clientEmail": "alan.brito.prieto@example.com",
- "clientPhonePrefix": 34,
- "clientPhoneNumber": 938930586,
- "clientAddressCity": "Sant Cugat del Vallés.",
- "clientAddressCountryISO3": "ESP",
- "clientAddress": "Vallespir, 19 1",
- "clientAddressZip": "08173",
- "clientAddressState": "Barcelona"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "token": "e2a78c1fe075245606a9c772af890af3960bd6f56692b57bc6ef42562aeb020f6bff83763c8395230ea0f5d1f4558dc6eba1ae5f478fec0ed9c20139620ee93a",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
}
}
}| language required | string Default: "english" Example: spanish Language in which messages are received |
| RV-SESS-T required | string auth token |
| currency required | string Value: "EUR" Currency in which the charge will be made |
| amount required | number <integer> Amount in cents in which the charge will be made |
| description required | string Concept for which the charge is made |
| order_ext_id | string External identifier of the order, is usually the order identifier in the system of the user of this API. |
| customer_ext_id | string Unique identifier of the client on the system consuming the API. |
| source_uuid | string Tokenized card identifier. |
| url_post | string Notification url where the API will send the result via POST once the sender makes the payment. |
| url_ok | string url to which the sender will be redirected when the payment is successful |
| url_ko | string url to which the sender will be redirected when the payment is not successful |
| clientFirstName | string Cardholder name. Field required by VISA. |
| clientLastName | string cardholder's last name. Field required by VISA. |
| clientEmail | string cardholder's email. Field required by VISA. |
| clientPhonePrefix | number Telephone prefix of the cardholder. Field required by VISA. It is recommended that at least an e-mail or telephone number be sent |
| clientPhoneNumber | number Telephone number of the cardholder. Field required by VISA. It is recommended that at least an e-mail or telephone number be sent |
| clientAddressCity | string Billing address city. Field required by VISA. |
| clientAddressCountryISO3 | string Country of billing address, ISO 3 format. Field required by VISA. |
| clientAddress | string Billing address. Field required by VISA. |
| clientAddressZip | string Billing address zip code. Field required by VISA. |
| clientAddressState | string State/province of billing address. Field required by VISA. |
{- "currency": "EUR",
- "amount": 1020,
- "description": "Rocker T-shirt x 1",
- "order_ext_id": "RTH-000001",
- "customer_ext_id": "CL1-000-CV-98",
- "source_uuid": "77777777-7777-4777-9777-777777777777",
- "clientFirstName": "Alan",
- "clientLastName": "Brito Prieto",
- "clientEmail": "alan.brito.prieto@example.com",
- "clientPhonePrefix": 34,
- "clientPhoneNumber": 938930586,
- "clientAddressCity": "Sant Cugat del Vallés.",
- "clientAddressCountryISO3": "ESP",
- "clientAddress": "Vallespir, 19 1",
- "clientAddressZip": "08173",
- "clientAddressState": "Barcelona"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "token": "e2a78c1fe075245606a9c772af890af3960bd6f56692b57bc6ef42562aeb020f6bff83763c8395230ea0f5d1f4558dc6eba1ae5f478fec0ed9c20139620ee93a",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
}
}
}| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderResponse.Order.order.code) |
| receipt_file required | string <base64encode> Base64 encoded file. Document that justifies that the service / product was provided / delivered to the end customer. Allowed formats (gif,jpg,png,pdf) |
{- "order_code": "wgByP.288",
- "receipt_file": "string"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "token": "e2a78c1fe075245606a9c772af890af3960bd6f56692b57bc6ef42562aeb020f6bff83763c8395230ea0f5d1f4558dc6eba1ae5f478fec0ed9c20139620ee93a",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
}
}
}| language required | string Default: "english" Example: spanish Language in which messages are received |
| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderResponse.Order.order.code) |
| receipt_file required | string <base64encode> Base64 encoded file. Document that justifies that the service / product was provided / delivered to the end customer. Allowed formats (gif,jpg,png,pdf) |
{- "order_code": "wgByP.288",
- "receipt_file": "string"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "token": "e2a78c1fe075245606a9c772af890af3960bd6f56692b57bc6ef42562aeb020f6bff83763c8395230ea0f5d1f4558dc6eba1ae5f478fec0ed9c20139620ee93a",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
}
}
}| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderResponse.Order.order.code) |
{- "order_code": "wgByP.288"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "token": "e2a78c1fe075245606a9c772af890af3960bd6f56692b57bc6ef42562aeb020f6bff83763c8395230ea0f5d1f4558dc6eba1ae5f478fec0ed9c20139620ee93a",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
}
}
}| language required | string Default: "english" Example: spanish Language in which messages are received |
| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderResponse.Order.order.code) |
{- "order_code": "wgByP.288"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "token": "e2a78c1fe075245606a9c772af890af3960bd6f56692b57bc6ef42562aeb020f6bff83763c8395230ea0f5d1f4558dc6eba1ae5f478fec0ed9c20139620ee93a",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
}
}
}| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderResponse.Order.order.code) |
| amount required | number <integer> amount in cents that is required to return |
{- "order_code": "wgByP.288",
- "amount": 1020
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "token": "e2a78c1fe075245606a9c772af890af3960bd6f56692b57bc6ef42562aeb020f6bff83763c8395230ea0f5d1f4558dc6eba1ae5f478fec0ed9c20139620ee93a",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
}
}
}| RV-SESS-T required | string auth token |
| currency required | string Enum: "EUR" "USD" Currency in which the charge will be made |
| amount required | number <integer> Amount in cents in which the charge will be made |
| email required | string <email> Customer email to send the payment order |
| subject required | string subject of the email that is sent to the client |
| details | string Details of the concept for which the charge is made |
| description required | string Concept for which the charge is made |
| order_ext_id | string External identifier of the order, is usually the order identifier in the system of the user of this API. |
| customer_ext_id | string Unique identifier of the client on the system consuming the API. |
| url_post | string Notification url where the API will send the result via POST once the sender makes the payment. |
| url_ok | string url to which the sender will be redirected when the payment is successful |
| url_ko | string url to which the sender will be redirected when the payment is not successful |
{- "currency": "USD",
- "amount": 1020,
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "description": "Rocker T-shirt x 1",
- "order_ext_id": "RTH-000001",
- "customer_ext_id": "CL1-000-CV-98",
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}| language required | string Default: "english" Example: spanish Language in which messages are received |
| RV-SESS-T required | string auth token |
| currency required | string Enum: "EUR" "USD" Currency in which the charge will be made |
| amount required | number <integer> Amount in cents in which the charge will be made |
| email required | string <email> Customer email to send the payment order |
| subject required | string subject of the email that is sent to the client |
| details | string Details of the concept for which the charge is made |
| description required | string Concept for which the charge is made |
| order_ext_id | string External identifier of the order, is usually the order identifier in the system of the user of this API. |
| customer_ext_id | string Unique identifier of the client on the system consuming the API. |
| url_post | string Notification url where the API will send the result via POST once the sender makes the payment. |
| url_ok | string url to which the sender will be redirected when the payment is successful |
| url_ko | string url to which the sender will be redirected when the payment is not successful |
{- "currency": "USD",
- "amount": 1020,
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "description": "Rocker T-shirt x 1",
- "order_ext_id": "RTH-000001",
- "customer_ext_id": "CL1-000-CV-98",
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderResponse.Order.order.code) |
| receipt_file required | string <base64encode> Base64 encoded file. Document that justifies that the service / product was provided / delivered to the end customer. Allowed formats (gif,jpg,png,pdf) |
{- "order_code": "wgByP.288",
- "receipt_file": "string"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}| language required | string Default: "english" Example: spanish Language in which messages are received |
| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderResponse.Order.order.code) |
| receipt_file required | string <base64encode> Base64 encoded file. Document that justifies that the service / product was provided / delivered to the end customer. Allowed formats (gif,jpg,png,pdf) |
{- "order_code": "wgByP.288",
- "receipt_file": "string"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderMotoResponse.Order.order.code) |
{- "order_code": "wgByP.288"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}| language required | string Default: "english" Example: spanish Language in which messages are received |
| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderMotoResponse.Order.order.code) |
{- "order_code": "wgByP.288"
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}| RV-SESS-T required | string auth token |
| order_code required | string Unique identifier of the order. (OrderResponse.Order.order.code) |
| amount required | number <integer> amount in cents that is required to return |
{- "order_code": "wgByP.288",
- "amount": 1020
}{- "code": 200,
- "message": "success.",
- "result": {
- "order": {
- "code": "wgByP.288",
- "status": "pending",
- "internal_code": "TPV210526288",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": "prod",
}, - "details": {
- "amount": 10.2,
- "currency": "USD",
- "status": "pending",
- "order_ext_id": "RTH-000001",
- "description": "Rocker T-shirt x 1",
- "email": "minombre@midominio.com",
- "subject": "Payment Order RTH-000001",
- "details": "black size XL t-shirt",
- "payment_uuid": "88888888-8888-4888-9888-888888888888",
- "payment_status": "CREATED",
- "environment": "prod",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}