Payout Methods
Delete a payout method
Changed onThis is used to delete a payout method by its unique Id for one of your sub accounts
delete/accounts/{id}/payout-methods/{payoutMethodId}
Request
- Base URLhttps://sandbox-api.ryftpay.com/v1
- URLhttps://sandbox-api.ryftpay.com/v1/accounts/{id}/payout-methods/{payoutMethodId}
- AuthAPI key in header Authorization
Path parameters
idstring required
Example:ac_b83f2653-06d7-44a9-a548-5825e8186004
the account id of one of your sub accounts
payoutMethodIdstring required
Example:pm_01FCTS1XMKH9FF43CAFA4CXT3P
Payout method to retrieve
Response
Payout method successfully deleted
Example response
{
"id": "pm_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"type": "BankAccount",
"displayName": "Primary GBP Account",
"status": "Valid",
"currency": "GBP",
"countryCode": "GB",
"bankAccount": {
"bankIdType": "SortCode",
"bankId": "0123",
"branchIdType": "TransitNumber",
"branchId": "11122",
"bankName": "Ryft Bank Ltd",
"swiftCode": "NAIAGB21",
"accountNumberType": "UnitedKingdom",
"last4": "0001",
"address": {
"lineOne": "123 Test Street",
"city": "Manchester",
"country": "GB",
"postalCode": "SP4 7DE"
}
},
"createdTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538,
"verification": {
"status": "Verified",
"nameOnAccount": "J Smith",
"rejectionReason": "NameMismatch"
}
}Changes
- info
added the optional property
to the response with the status
- info