Deposit Funds - Sandbox

Overview

Using the Sandbox, funds can be deposited onto the account to test multiple calls. To do so:

  1. Call POST - Fund the account.
    1. Enter the Currency to deposit.
    2. Enter the Amount in the given currency.
    3. Enter the corresponding UserId for the account where the funds are to be deposited.

REQUEST

curl --location 'https://caxapi-integration.azurewebsites.net/api/sandbox/payments-in' \
--header 'Content-Type: application/json' \
--header 'authorization: Bearer <access_token>' \
--data '{
  "Currency": "GBP",
  "Amount": 1000,
  "UserId": "UserId"
}'

RESPONSE

{
    "MainAccountHolderName": "<MainAccountHolderName>",
    "Content": {
        "Model": {
            "ApiStatusCode": 100,
            "ApiStatus": "IsValid",
            "ApiStatusDescription": "Valid Operation"
        },
        "ExpectedResponses": [
            "IsValid"
        ]
    },
    "AuthorisedClientModel": {
        "ClientId": "<ClientId>",
        "ClientRef": "<ClientRef>",
        "UserId": "<UserId>",
        "TokenStartDate": "2023-11-06T10:06:28.1175216",
        "TokenEndDate": "2024-04-24T10:33:04.4417713",
        "ApiStatusCode": 100,
        "ApiStatus": "IsValid",
        "ApiStatusDescription": "Valid Operation"
    },
    "AuthorisedUserModel": {
        "UserId": "<UserId>",
        "AppVersion": "20240322.1",
        "TokenStartDate": "2024-03-25T00:00:00",
        "TokenEndDate": "2024-04-24T00:00:00",
        "LoginTimestamp": "2024-03-25T10:33:04.410525",
        "ApiLoginType": 1,
        "ApiStatusCode": 100,
        "ApiStatus": "IsValid",
        "ApiStatusDescription": "Valid Operation"
    }
}