Approve a Recipient
Approve exactly one user ID, email, or country calling code and phone number. Emails are normalized to lowercase; phone numbers are normalized. Repeated approvals return the existing record. Creating an approval does not create a user. The list is enforced only while recipient_restriction_enabled is true.
Approve exactly one user ID, email, or country calling code and phone number. Emails are normalized to lowercase; phone numbers are normalized. Repeated approvals return the existing record. Creating an approval does not create a user. The list is enforced only while recipient_restriction_enabled is true.
api_keyAuthorizationBasic <token>payout_agent_id*stringID of the payout agent.
uuidapplication/json- body
user_id*stringuuidemail?stringemailcountry_code?string^[0-9]{1,3}$phone_number?string1 <= length <= 30Created
application/json- response
object?stringuser_id?|ID of the approved user.
uuidfirst_name?string|nulllast_name?string|nullcreated?stringWhen this identifier was approved.
date-timeid?stringApproval ID. Use this ID to delete an email or phone approval.
uuidemail?string|nullcountry_code?string|nullphone_number?string|nullcurl -X POST 'https://api.dots.dev/api/v2/payout-agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/approved-recipients' \ -H 'Content-Type: application/json' \ -d '{ "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"}'{ "object": "payout_agent_approved_recipient", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "first_name": "string", "last_name": "string", "created": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "email": "string", "country_code": "string", "phone_number": "string"}List Approved Recipients
List user, email, and phone approvals for this agent. Contact approvals may be created before signup. Contact ownership must be verified before a user can receive funds through that approval.
Remove an Approved Recipient
Remove an approval by its approval ID or, for an existing user approval, the external user ID. Already accepted payouts and payout links retain their recipient authorization.