Revoke a Payout Agent Credential
Revoke a credential. Requests that use it are rejected immediately. Revoking a revoked credential succeeds without changing it. The credential stays in the list with `active` set to `false`.
Revoke a credential. Requests that use it are rejected immediately. Revoking a revoked credential succeeds without changing it. The credential stays in the list with active set to false.
Authorization
api_key In: header
Path Parameters
ID of the payout agent.
uuidID of the credential.
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v2/payout-agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/credentials/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "payout_agent_credential", "payout_agent_id": "79fb14fc-ce5a-4ca6-83f8-93ffe10240da", "name": "string", "token": "string", "token_last_four": "string", "active": true, "revoked_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z", "created": "2019-08-24T14:15:22Z"}{ "success": false, "message": "string", "error_code": "string", "errors": [ null ]}{ "success": false, "message": "string", "error_code": "string", "errors": [ null ]}{ "success": false, "message": "string", "error_code": "string", "errors": [ null ]}Rotate a Payout Agent Credential
Issue a replacement credential with the same name and revoke this one immediately. The response is the replacement, and is the only time its `token` is returned.
List a Payout Agent’s Payout Links
List links funded by this agent, including claim, cancellation, and expiry status. Unclaimed links remain committed against the agent balance and spending caps.