Skip to main content
POST
/
billing
/
attach_payment_method
/
Attach payment method
curl --request POST \
  --url https://api-v2.missioninbox.com/billing/attach_payment_method/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payment_method_id": "<string>"
}'
{
  "success": true,
  "payment_method_id": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

payment_method_id
string
required

Stripe payment method ID to attach

Response

success
boolean
required
payment_method_id
string
required