/
Simulate Creating a Linke...
The Linked Account Simulator allows you to create a simulated linked account that can be used for funding payment runs.
This endpoint will only function in Sandbox and should not be used in the Live environment.
Security
apiKey
One of:
Bank details used in case the wire transfer is executed over Faster Payments.
- Sandboxhttps://sandbox.weavr.io/payment-run/simulate/v1/linked_accounts
- Mock serverhttps://api.weavr.io/_mock/products/payment-run/openapi/simulate/v1/linked_accounts
curl -i -X POST \
https://sandbox.weavr.io/payment-run/simulate/v1/linked_accounts \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"institutionId": "string",
"buyerId": "string",
"createdBy": "string",
"accountIdentification": {
"accountNumber": "stringst",
"sortCode": "string",
"secondaryReference": "string"
},
"currency": "GBP"
}'OK
The unique identifier of the linked account
Example:"652d25b73541d8084a88a38d"
One of:
Bank details used in case the wire transfer is executed over Faster Payments.
The primary currency associated with the account
Enum:"GBP""EUR"
The status of the linked account. The status can be one of the following:
PENDING_CHALLENGE: The Linked Account is pending challengePENDING_VERIFICATION: The Linked Account is pending the completion of the required verification stepsPENDING_FUNDING: Awaiting a wire transfer as part of the verification process when adding an account without Open BankingREJECTED: The Linked Account did not pass one or more verification steps and is not eligible for useLINKED: The linked account is linked and ready for useUNLINKED: The linked account is not linked and cannot be used
Enum:"LINKED""UNLINKED""PENDING_CHALLENGE""PENDING_FUNDING""PENDING_VERIFICATION""REJECTED"
Response
{ "id": "652d25b73541d8084a88a38d", "accountIdentification": { "accountNumber": "stringst", "sortCode": "string", "secondaryReference": "string" }, "currency": "GBP", "institution": { "displayName": "string", "countries": [ … ], "images": { … }, "info": { … } }, "consent": { "expiresAt": "2019-08-24T14:15:22Z", "expiresIn": 0, "status": "ACTIVE" }, "status": "LINKED", "friendlyName": "string", "createdAt": "string" }