Bank Transfer

Call the Payouts API to request withdrawal for your customer.


POST /v2/payout

Request

curl -v --location --request POST 'https://sandbox.smartfastpay.com/v2/payout' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <Access-Token>' \
    --data-raw '{
      "customer": {
        "id": "b48a0728-9ff4-47ee-8f1b-92d2d5813ddb",
        "name": "Richard Roe",
        "email": "richard@roe.com",
        "document": {
          "type": "RUT",
          "number": "114741671"
        }
      },
      "country": "CHL",
      "payment_method": "bank_transfer",
      "notification_url": "http://mysite.com/api/notification",
      "bank_transfer": {
        "bank_code": "001",
        "bank_account_number": "123456789",
        "bank_account_type": "RUT"
      },
      "transaction": {
        "id": "73e7036e-b835-4130-8db0-2f82cc859662",
        "currency": "CLP",
        "amount": 2000
      }
    }'

Response

{
    "requestId": "de3af972e3cea7d6cd998bc4761f05f4\/15349144900800090226",
    "data": {
	"id": "2d6c4f53-8ec4-4cfc-82b7-df1bde11bf92",
	"status": "pending",
	"payment": {
	    "method": "bank_transfer"
	},
	"values": {
	    "source_total": "18.00000000",
	    "source_currency": "CLP",
	    "exchanged_total": "18.00",
	    "exchanged_currency": "CLP",
	    "exchange": "1.00",
	    "fee": "0.18000000"
	}
    }
}

Response details following the link: overview

Last updated