Card payouts
Pay out to a card with the API, and choose whether to check the cardholder's name first.
Pay out to a debit or credit card. Card payouts usually complete within seconds. See Card in Payout connections for the providers that pay out to it.
Pay out with the API
When you have the recipient's details, send POST /v1/payouts with destination_data.type set to "card" and a unique idempotency-key header. Amounts are in minor units, so 10000 is $100.00. Send the card's number, expiry_month, and expiry_year. The CVV isn't required for card payouts. Raw card details require a PCI compliant key.
{
"amount": 10000,
"currency": "usd",
"destination_data": {
"type": "card",
"card": {
"number": "4111111111111111",
"expiry_month": "12",
"expiry_year": "2030",
"name": "Jane Smith"
}
},
"reference": "payout-12345"
}{
"id": "po_687092287729042432",
"resource": "payout",
"amount": 10000,
"currency": "usd",
"status": "succeeded",
"payment_method_details": {
"type": "card"
},
"reference": "payout-12345",
"test_mode": true
}destination_data.card accepts these fields.
| Field | Description |
|---|---|
number | The card number, as a string without any separators. |
expiry_month | Two-digit number representing the card's expiration month. |
expiry_year | Two or four-digit number representing the card's expiration year. |
cvv | Card security code, if available. cvc is accepted as an alias. |
name | Cardholder's full name. |
billing_address | Address details. |
See Create a payout for common payout fields, and Track and manage payouts for payout statuses and webhook events.
Pay out to a saved card
When the customer already saved their card with you, pay out to it without asking for their details again. It can be a payment method saved when they paid, or in a setup session. Read its ID from payment_method on the charge or payment session, or list the customer's payment methods with GET /v1/customers/{reference_id}/payment_methods. Then pass the ID as destination in POST /v1/payouts.
{
"amount": 10000,
"currency": "usd",
"destination": "pm_card_750042760773370880",
"customer_reference_id": "cust-001",
"reference": "payout-12345"
}Pay out only to a payment method whose flow_directions.payout is true. Pay.com sends the payout to any saved method you name, so one that can't receive payouts comes back declined, with 400 and payment_method_error. When you send customer_reference_id, the payment method must belong to that customer.
Card payout options
Set these in payout_method_options.card on the payout. They override the defaults on your account.
| Option | Type | Description |
|---|---|---|
name_verification.enabled | boolean | Whether to perform name verification with ANI (Account Name Inquiry). Checks the cardholder's name with the card network before the payout. A result the check doesn't accept declines the payout with NAME_MISMATCH. |
name_verification.use_customer_name | boolean | Whether to use the customer name for verification with ANI. Defaults to false. |
name_verification.accepted_results | array of string (match, partial_match, no_match, not_performed, not_supported) | List of ANI results to accept. Each value is one of match, partial_match, no_match, not_performed, or not_supported. Defaults to accepting all results. Specify values to decline the others. The check accepts the payout when this list includes the overall or full-name result, or when every field you set in accepted_results_by_field has one of its listed results. With this list at its default, accepted_results_by_field can't decline a payout. |
name_verification.accepted_results_by_field.first_name | array of string (match, no_match, partial_match) | Results to accept for the first name, as an alternative to accepted_results. |
name_verification.accepted_results_by_field.last_name | array of string (match, no_match, partial_match) | Results to accept for the last name, as an alternative to accepted_results. |
name_verification.accepted_results_by_field.middle_name | array of string (match, no_match, partial_match) | Results to accept for the middle name, as an alternative to accepted_results. |
name_verification.accepted_results_by_field.full_name | array of string (match, no_match, partial_match) | Results to accept for the full name, as an alternative to accepted_results. |
To refresh an expired or replaced saved card before sending a payout, see Refresh a card before a payout.
Next steps
- Track and manage payouts: Follow payout statuses, webhook events, cancellations, and returns.
- Test and go live: Test sandbox outcomes and complete the go-live checklist.