Create B2C / B2B International Transfer
POST/v2/international-disbursement/create-with-attachment
An endpoint to create the international transfer B2C/B2B transaction.
Request
Header Parameters
Request content type application/x-www-form-urlencoded
Idempotency key. Please see more detail on Idempotent Request section
Request timestamp. The format will follow the ISO8601 format.
- application/x-www-form-urlencoded
Body
required
Destination country code using ISO 3166 (Alpha-3). See supported Destination Countries.
Source country code using ISO 3166 (Alpha-3). Currently possible value is IDN.
Possible values: [B2B, B2C]
Transaction type information.
Amount of money that wants to be disbursed to the beneficiary (in beneficiary currency). Maximum 2 decimal places, for Japan there can be no decimal. Must be within the minimum and maximum amount based on transaction currency.
File of invoice for Malaysia B2B. Accepted extensions txt, pdf, doc, docx, jpg, jpeg, png, bmp, rtf, xls, xlsx
Currently possible value is invoice for MYS
Account number of the beneficiary bank
Ach code of the beneficiary
Address of the beneficiary
ID of beneficiary bank
Name of beneficiary bank. Can be used for destination countries AUS and GBR
Identifier of banks and branches across Japan
Identifier of banks and branches across Australia
City of the beneficiary
Reference number of document related to the transaction
Email of beneficiary
Full name of the beneficiary
Identifier of individual account involved in the international transaction
ID expiration date using YYYY-MM-DD format
Indian financial system code
ID Number
A number used to identify a phone number internationally
Country code using ISO 3166 (Alpha-3) of beneficiary nationality
Postal code of the beneficiary
Province or state of the beneficiary
Relationship of beneficiary
Purpose of remittance
Digits of code which is used by British and Irish banks
Source of funds
Responses
- 200
- 401
- 422
Create B2B International Disbursement response
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
beneficiary
object
{
"id": 11,
"user_id": 12345,
"company_id": 123456,
"exchange_rate": 19000.55,
"fee": 88888,
"amount": 1000000,
"source_country": "IDN",
"destination_country": "GBR",
"beneficiary_amount": 52.63,
"beneficiary_currency_code": "GBP",
"status": "PENDING",
"timestamp": "2021-12-02 15:27:24",
"time_served": "(not set)",
"created_from": "API",
"receipt": "someurl.png",
"transaction_type": "C2C",
"idempotency_key": "idem-1",
"beneficiary": {
"full_name": "Jane Doe",
"bank_account_number": "1187710200",
"email": null,
"bank": "AFFIN INVESTMENT BANK BERHAD",
"msisdn": "",
"nationality": "",
"country": "MYS",
"province": "",
"city": "",
"address": "",
"postal_code": null,
"relationship": "",
"source_of_funds": "",
"remittance_purpose": "TRAVEL",
"iban": null,
"swift_bic_code": null,
"sort_code": null,
"ifs_code": null,
"bsb_number": null,
"branch_number": null,
"document_reference_number": "doc_reference_123456",
"registration_number": null,
"id_number": "",
"id_expiration_date": "",
"ach_code": ""
},
"sender": null,
"reason": ""
}
Sample response when Your Flip api secret key value for Authorization is missing or invalid
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
{
"name": "Unauthorized",
"message": "Your request was made with invalid credentials.",
"status": 401
}
Sample error response
- application/json; charset=UTF-8
- Schema
- Example (from schema)
- Mising Required Fields
- Mising amount Field
- Mising source_country Field
- Missing destination_country field
- Missing beneficiary_full_name field
- Missing beneficiary_bank_account_number field
- Missing beneficiary_bank_id field
- Missing beneficiary_remittance_purpose field
- Missing beneficiary_beneficiary_relationship field
- Missing beneficiary_source_of_funds field
- Missing beneficiary_postal_code field
- Missing beneficiary_ach_code field
- Missing beneficiary_address field
- Missing beneficiary_city field
- Missing beneficiary_msisdn field
- Missing attachment_type field
- Missing attachment_data field
Schema
Array [
]
errors
object[]
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "destination_country",
"code": 1001,
"message": "Destination country cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "amount",
"code": 1001,
"message": "Amount cannot be emptyy"
},
{
"attribute": "source_country",
"code": 1001,
"message": "Source country cannot be empty"
},
{
"attribute": "destination_country",
"code": 1001,
"message": "Destination country cannot be empty"
},
{
"attribute": "beneficiary_full_name",
"code": 1001,
"message": "Beneficiary full name cannot be empty"
},
{
"attribute": "beneficiary_bank_account_number",
"code": 1001,
"message": "Beneficiary bank account number cannot be empty"
},
{
"attribute": "beneficiary_bank_id",
"code": 1001,
"message": "Beneficiary bank id cannot be empty"
},
{
"attribute": "beneficiary_remittance_purpose",
"code": 1001,
"message": "Beneficiary remittance purpose cannot be empty"
},
{
"attribute": "beneficiary_beneficiary_relationship",
"code": 1001,
"message": "Beneficiary beneficiary relationship cannot be empty"
},
{
"attribute": "beneficiary_source_of_funds",
"code": 1001,
"message": "Beneficiary source of funds cannot be empty"
},
{
"attribute": "beneficiary_postal_code",
"code": 1001,
"message": "Beneficiary postal code cannot be empty"
},
{
"attribute": "beneficiary_ach_code",
"code": 1001,
"message": "Beneficiary ach code cannot be empty"
},
{
"attribute": "beneficiary_address",
"code": 1001,
"message": "Beneficiary address cannot be empty"
},
{
"attribute": "beneficiary_city",
"code": 1001,
"message": "Beneficiary city cannot be empty"
},
{
"attribute": "beneficiary_msisdn",
"code": 1001,
"message": "Beneficiary msisdn cannot be empty"
},
{
"attribute": "attachment_type",
"code": 1001,
"message": "Attachment type cannot be empty"
},
{
"attribute": "attachment_data",
"code": 1001,
"message": "Attachment data cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "amount",
"code": 1001,
"message": "Amount cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "source_country",
"code": 1001,
"message": "Destination country cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "destination_country",
"code": 1001,
"message": "Destination country cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_full_name",
"code": 1001,
"message": "Beneficiary full name cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_bank_account_number",
"code": 1001,
"message": "Beneficiary bank account number cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_bank_id",
"code": 1001,
"message": "Beneficiary bank id cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_remittance_purpose",
"code": 1001,
"message": "Beneficiary remittance purpose cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_beneficiary_relationship",
"code": 1001,
"message": "Beneficiary beneficiary relationship cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_source_of_funds",
"code": 1001,
"message": "Beneficiary source of funds cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_postal_code",
"code": 1001,
"message": "Beneficiary postal code cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_ach_code",
"code": 1001,
"message": "Beneficiary ach code cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_address",
"code": 1001,
"message": "Beneficiary address cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_city",
"code": 1001,
"message": "Beneficiary city cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "beneficiary_msisdn",
"code": 1001,
"message": "Beneficiary msisdn cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "attachment_type",
"code": 1001,
"message": "Attachment type cannot be empty"
}
]
}
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "attachment_data",
"code": 1001,
"message": "Attachment data cannot be empty"
}
]
}