/BitRail POST

Allows for the creation of GB Pay from MyGunBroker.

URL
/BitRail
Verb
Post
Header Data Type Valid Values Required Description
Content-Type string application/json YES The format your data will be sent to our site.
X-DevKey string string YES The devkey assigned to the developer.
X-AccessToken string string YES The token acquired from a POST to Users/AccessToken.

Input

Parameter Data Type Valid Values Description
AgreementID string A valid agreement id. A valid agreement id.
MakePrimary boolean true or false Signals whether the account should be set to the primary payment method
VaultID string A valid vault id. A valid vault id.
VaultHandle string A valid vault handle. A valid vault handle.
VerificationToken string A valid verification token. A valid verification token.

Output

If there are no errors with the input parameters, this call will respond with a 200 OK.

If the agreement id is invalid or if there is a problem with the input parameters, this call will respond with a 400 Bad Request.