POST
/
v1
/
credit
curl --request POST \
  --url https://bank.domain.com/v1/v1/credit \
  --header 'API_KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "source": "<string>",
  "target": "<string>",
  "symbol": "<string>",
  "amount": "<string>",
  "snapshot": {
    "source": {
      "wallet": {
        "handle": "<string>",
        "labels": {
          "type": "<string>",
          "channelSms": "<string>"
        }
      },
      "signer": {
        "handle": "<string>",
        "labels": {
          "personType": "<string>",
          "firstName": "<string>",
          "lastName": "<string>",
          "email": "<string>",
          "mobile": "<string>",
          "identification": "<string>",
          "proprietary": "<string>",
          "countryOfResidence": "<string>",
          "bankAccountNumber": "<string>",
          "bankAccountType": "<string>",
          "bankBicfi": "<string>",
          "bankName": "<string>"
        }
      }
    },
    "target": {
      "wallet": {
        "handle": "<string>",
        "labels": {
          "type": "<string>",
          "channelSms": "<string>"
        }
      },
      "signer": {
        "handle": "<string>",
        "labels": {
          "personType": "<string>",
          "firstName": "<string>",
          "lastName": "<string>",
          "email": "<string>",
          "mobile": "<string>",
          "identification": "<string>",
          "proprietary": "<string>",
          "countryOfResidence": "<string>",
          "bankAccountNumber": "<string>",
          "bankAccountType": "<string>",
          "bankBicfi": "<string>",
          "bankName": "<string>"
        }
      }
    },
    "symbol": {
      "wallet": {
        "handle": "<string>",
        "labels": {
          "type": "<string>"
        }
      },
      "signer": {
        "handle": "<string>"
      }
    }
  },
  "labels": {
    "tx_ref": "<string>",
    "tx_id": "<string>",
    "type": "<string>",
    "description": "<string>",
    "transactionPurpose": "<string>",
    "sourceCreated": "<string>",
    "targetUpdated": "<string>",
    "created": "<string>",
    "numberOfTransactions": "<string>"
  },
  "error": {
    "code": 123,
    "message": "<string>"
  },
  "action_id": "<string>"
}'
{
  "source": "<string>",
  "target": "<string>",
  "symbol": "<string>",
  "amount": "<string>",
  "labels": {
    "tx_ref": "<string>",
    "tx_id": "<string>",
    "type": "<string>",
    "description": "<string>",
    "sourceCreated": "<string>",
    "hash": "<string>"
  },
  "error": {
    "code": 123,
    "message": "<string>"
  },
  "action_id": "<string>"
}

Authorizations

API_KEY
string
header
required

Body

application/json
source
string
target
string
symbol
string
amount
string
snapshot
object
labels
object
error
object
action_id
string

Response

200
application/json
If the credit was processed locally and action was signed
source
string
target
string
symbol
string
amount
string
labels
object
error
object
action_id
string