BankTransfer
How to use BankTransfer to submit a payin in Argentina.
Post
https://gateway-test.luxtak.com/trade/pay
Payin by BankTransfer
This endpoint allows you to submit a payin by BankTransfer in Argentina.
Parameters
Header
| Parameter | Type | Description |
|---|---|---|
| Content-Type* | string | application/json; chartset=UTF-8 |
| Authorization* | string | Basic Base($app_id:$security_key) |
Request Body
| Parameter | Type | Description |
|---|---|---|
| app_id* | string | created app's id at dashboard - Max. 32 chars - |
| timestamp* | string | yyyy-MM-dd HH:mm:ss - Max. 19 chars - |
| out_trade_no* | string | ID given by the merchant in their system - Max. 64 chars - |
| method* | string | Fixed value: BankTransfer |
| order_currency* | string | Fixed value: ARS |
| region* | string | Fixed value: ARG |
| order_amount* | string | payment amount - No Limit - |
| subject* | string | payment reason or item title - Max. 128 chars - |
| content | string | payment reason detail or item detail. - Max. 255 chars - |
| notify_url* | string | Where luxtak will send notification to |
| buyer_id* | string | merchant user's id |
| customer.name* | string | User's name |
| customer.identify.type* | string | User's identification type; - DNI - |
| customer.identify.number* | string | User's identification number |
Responses
| Status | Description |
|---|---|
| 200 | submit successfully |
{
"code": "10000",
"msg": "Success",
"prepay_id": "c2di****eaD7ec",
"trade_no": "2026****1591",
"out_trade_no": "out_trade_no_137****375",
"web_url": "",
"pay_url": "https://test.BT/es/checkout/BfPn4***C0A7W5s",
"trade_status": "PROCESSING",
"reference": "000***18"
}
Present the returned reference to the customer so that it can be included with the bank transfer.
Warning
A successful API response with code=10000 only confirms that the payment request was created. It does not mean that the transfer has been completed. Use payment notifications or the Payin Detail API to determine the final payment status.
| Status | Description |
|---|---|
| 400 | duplicate out_trade_no |
{
"code": "40002",
"msg": "Business Failed",
"sub_code": "duplicate-out_trade_no",
"sub_msg": "out_trade_no is duplicate"
}
Tips
Notes
- Settled time: Instant after paid
- Refund: Not supported
Example
curl --location --request POST 'https://gateway-test.luxtak.com/trade/pay' \
--header 'Authorization: Basic Base64(app_id:security_key)' \
--header 'Content-Type: application/json' \
--data-raw '{
* "app_id": "17***353",
* "out_trade_no": "out_trade_no_137***375",
* "order_currency": "ARS",
* "region": "ARG",
* "method": "BankTransfer",
* "order_amount": "1500",
* "subject": "test",
* "content": "test",
* "timestamp": "2024-07-04 18:50:42",
* "notify_url": "http://merchant/callback/success",
* "buyer_id": "buyer123",
* "customer": {
* "identify": {
* "type": "DNI",
* "number": "307**89"
},
* "name": "Test User Name"
}
}'
Tips
Note: Use luxtak's test app id and authorization token for sandbox.
Warning
Please use your own app_id and generate your own authorization token when testing.
