SmartGare
API referenceEndpoints

Record beneficiary details

Appends a version of the carrier's payout beneficiary details, in force from an effective date. Where the deployment requires a separate approver, the version waits for a different person's approval and is not in force until then. **Required permission:** `referential.carrier:record-beneficiary`

POST/referential/v1/carriers/{id}/beneficiaries

Appends a version of the carrier's payout beneficiary details, in force from an effective date. Where the deployment requires a separate approver, the version waits for a different person's approval and is not in force until then.

Required permission: referential.carrier:record-beneficiary

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*RecordCarrierPaymentDetailsRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/carriers/string/beneficiaries" \  -H "Content-Type: application/json" \  -d '{    "bank_name": "string",    "beneficiary_name": "string",    "effective_from": "2019-08-24",    "iban": "string",    "swift_bic": "string"  }'
{  "approved_at": "2019-08-24T14:15:22Z",  "approved_by": "string",  "bank_name": "string",  "beneficiary_name": "string",  "carrier_id": "string",  "effective_from": "2019-08-24",  "iban": "string",  "id": "string",  "recorded_at": "2019-08-24T14:15:22Z",  "recorded_by": "string",  "reference": "string",  "rejected_at": "2019-08-24T14:15:22Z",  "rejected_by": "string",  "rejection_reason": "string",  "status": "AWAITING_APPROVAL",  "swift_bic": "string"}