Customer Migrations Guide: Post Business Import
API Endpoints
Overview
Use this endpoint to create a payment instruction for a business.
Schema
Responses
The following responses may be returned from the API.
| Status code | Description |
|---|---|
201 - Created |
If the payload is valid, a {
"reference": "abc-defg",
"external_business_identifier": "external-123343243"
} |
400 - Bad Request |
If there are validation errors, a This error can be returned if we have persistent issues communicating with the upstream payment vendor (we call their API to verify the instruction exists, and retrieve the details to store in Kraken). In this case, the request should not be retried in its current form. |
401 - Unauthorized |
If there are authorization errors, a |
500 - Internal Server Error |
If an unexpected error occurs, a This error can be returned if we have intermittent issues communicating with the upstream payment vendor (we call their API to verify the instruction exists, and retrieve the details to store in Kraken). In this case, the request should be retried as-is. |
Payloads
Example payload
{
"import_supplier_code": "TENTACLE_UTILITIES",
"external_business_identifier": "EXTERNAL-1234",
"vendor": "STRIPE",
"reference": "THIS-IS-A-FAKE-REFERENCE",
"type": "CARD"
}