Update Display String, PII, and default Payout/Payment payment mehtods.
Successful completion triggers this notification |
---|
Payment method updated |
For more information about event notifications, visit Webhooks.
Account resource
Update Payment Method Response
Invalid input
Unauthorized access.
Resource not found.
Service unavailable or server error.
{- "display_string": "Steam Wallet",
- "default_payment": "true",
- "default_payout": "true"
}
{- "status": "Success",
- "message": null,
- "codes": null,
- "payload": {
- "id": "pm_2V2bA0r2hJpUnCA9HeTgOl0rONr",
- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "method_class": "american-express",
- "display_string": "American Express ending in 0002",
- "provider": "rebilly",
- "psp_reference": "8415980438197366",
- "psp_hash_code": "SD7F6S7D6F7SD6F7SD6F7SD6F7SD6F...",
- "processing_currency": "USD",
- "pm_state": "ACTIVE",
- "integrator": "acme",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "created": "2019-08-24T14:15:22Z",
- "integrator": "acme",
- "namespace": "payment_method",
- "resource_id": "0e3037fd-9fbc-499b-b5e5-19948502cbdb",
- "resource_type": "payments.payment_method.id",
- "status": "ACTIVE",
- "tag": "default_payment",
- "tag_id": "paytag_1yVYRU5t1HFfsM6T6mAab4onHZp",
- "updated": "2019-08-24T14:15:22Z"
}
]
}
}