Get Signing Payload for Client Deallocations
This API call allows clients to get the client deallocations payload for signing. The returned payload should be cryptographically signed by the client and included in the subsequent deallocation request.
If your HTTP client doesn't support sending a request body on a get request, use the V1ClientDeallocationsSigningPostRoute
Error scenarios:
-
400: Invalid Request Error
-
Occurs when the request parameters are invalid or malformed.
-
Examples: Invalid UUID format for connectionId, malformed request body.
-
401: Authentication Error
-
Occurs when the request is not authorized.
-
Examples: Caller is not a member of the enterprise.
-
403: Permission Denied Error
-
Occurs when the authenticated client doesn't have necessary permissions.
-
Examples: Enterprise does not have OES license.
-
404: Not Found Error
-
Occurs when the specified connection cannot be found.
-
Examples: Connection ID doesn't exist, connection doesn't belong to this client.
-
422: Unprocessable Entity Error
-
Occurs when the request is valid but cannot be processed due to business rules.
-
Examples: Connection is inactive, requested currency not supported.
-
500: Internal Server Error
-
Occurs when there's an unexpected server error processing the request.
-
Examples: Database connection issues.
Requires access token scope: settlement_network_read
Path Params
-
enterpriseIdstring requiredThe enterprise identifier of the client. This identifies the client enterprise that owns the connection. -
connectionIdstring requiredThe unique identifier of the connection to deallocate from. This UUID uniquely identifies the connection between a client and a partner.
Body Params
object
-
amountobject requiredThe amount to deallocate from the connection. Contains both the currency identifier and the quantity in base units.amount object
-
currencystring required -
quantitystring required
-
-
clientExternalIdstring requiredExternal identifier provided by the client. Used for idempotence and correlation with client systems. -
noncestring requiredA unique nonce value used for cryptographic operations. This provides additional security for deallocation operations. -
notesstringOptional notes provided by the client when creating the deallocation. Can contain additional context or information about the purpose of the deallocation.
Responses
200
OK
Response Body
object
-
payloadstring requiredThe payload string that should be signed. This string should be cryptographically signed by the client and included in the subsequent deallocation request along with the signature.
401
Unauthorized
Response Body
object
-
errorstring required
403
Forbidden
Response Body
object
-
errorstring required
404
Not Found
Response Body
object
-
errorstring required
422
Unprocessable Entity
Response Body
object
-
errorstring required
500
Internal Server Error
Response Body
object
-
errorstring required